package com.cf.common.util.tree;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @author ChenFeng
 * @date 2021/11/5 11:21 上午
 * @description
 */
@Data
public class TreeNode extends BaseNode<TreeNode> {

    private static final long serialVersionUID = 1L;
    private String title;
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long key;
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long value;

}
